BST Search Algorithm

To find a key, we compare it with the current node's key and decide whether to go left, go right, or stop if we've found a match.

Search for a Key

Log: